Nearest named color · #9D365C
#9D365C
Nearest named color: Royal Flush
#9D365C (rgb(157 54 92), hsl(338 49% 41%), oklch(0.491 0.141 1)) is closest to the named color Royal Flush. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9D365C
oklch(0.491 0.141 1)
Color conversions
- HEX
- #9d365c
- RGB
- rgb(157 54 92)
- HSL
- hsl(338 49% 41%)
- HWB
- hwb(338 21% 38%)
- OKLCH
- oklch(0.491 0.141 1)
- OKLab
- oklab(0.491 0.141 0.002)
- CIE Lab
- lab(39.23 45.84 1.58)
- LCH
- lch(39.23 45.87 2)
- CMYK
- cmyk(0% 66% 41% 38%)
Tints · Shades · Tones
Tints
- A94B6B
- B45F7A
- BF738A
- C9879A
- D39AAA
- DDAEBA
- E6C2CB
- EFD6DC
- F7EAED
Shades
- 882E4F
- 732542
- 5F1E36
- 4C162A
- 3A0F1F
- 280814
- 18030A
- 090103
- 010000
Tones
- 9B3F60
- 9A4863
- 985067
- 95586A
- 935F6E
- 906671
- 8D6D75
- 897379
- 857A7C
Color harmonies
Complementary +180°
- 9D365C
Royal Flush
- 007164
≈ Falcon Turquoise
Analogous -30° +30°
- 9D365C
Royal Flush
- 8C3D85
≈ Dahlia
- A1392A
≈ Edocha
Triadic +120° +240°
- 9D365C
Royal Flush
- 576A00
≈ Serrano Pepper
- 00679B
≈ Impulse Blue
Split-complementary +150° +210°
- 9D365C
Royal Flush
- 007536
≈ Forestial
- 006D7C
≈ Coastal Jetty
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 6.73:1 · APCA Lc 82
Ag
FailOn black
WCAG 3.11:1 · APCA Lc 19
Best text color: #FFFFFF
WCAG 6.73:1 (AA) · APCA Lc 82
Contrast pairs
Code snippets
CSS
:root {
--royal-flush: #9d365c;
--royal-flush-rgb: 157 54 92;
--royal-flush-oklch: oklch(0.491 0.141 1);
}
.element {
color: var(--royal-flush);
background-color: hsl(338 49% 41%);
border-color: oklch(0.491 0.141 1);
}Tailwind CSS v4
@theme {
--color-royal-flush: #9d365c;
--color-royal-flush-50: #ffe5f1;
--color-royal-flush-100: #ffd5e3;
--color-royal-flush-200: #ffbbce;
--color-royal-flush-300: #f498b0;
--color-royal-flush-400: #e17899;
--color-royal-flush-500: #ce5881;
--color-royal-flush-600: #ae4b6d;
--color-royal-flush-700: #8c3c57;
--color-royal-flush-800: #682a41;
--color-royal-flush-900: #491d2d;
--color-royal-flush-950: #2f0c1a;
}SCSS
$royal-flush: #9d365c;
$royal-flush-rgb: 157, 54, 92;
$royal-flush-light: mix(#fff, $royal-flush, 20%);
$royal-flush-dark: mix(#000, $royal-flush, 20%);
.element {
color: $royal-flush;
box-shadow: 0 0 0 2px rgba($royal-flush, 0.35);
}