#CD175F#CD175F

#CD175F is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.2% C 0.211 H 6.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CD175F
RGBrgb(205, 23, 95)
HSLhsl(336, 80%, 45%)
HSVhsv(336, 89%, 80%)
CMYKcmyk(0%, 88.8%, 53.7%, 19.6%)
CIE-LABlab(44.83, 68.70, 8.58)
CIE-LCHlch(44.83, 69.23, 7.12°)
OKLaboklab(55.19% 0.2101 0.0222)
OKLCHoklch(55.19% 0.211 6)
XYZxyz(27.5515, 14.4223, 12.1573)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD175F #17CD85
analogous
#CD17BA #CD175F #CD2A17
triadic
#CD175F #5FCD17 #175FCD
tetradic
#CD175F #BACD17 #17CD85 #2A17CD
square
#CD175F #BACD17 #17CD85 #2A17CD
split-complementary
#CD175F #17CD2A #17BACD
monochromatic
#5F0B2C #961145 #CD175F #E9387E #EF70A2

Accessibility & contrast

On white

5.41
#CD175F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#CD175F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD175F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD175F#FFFFFF#000000##FFFFFF
##CD175F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5460
Deuteranopia (green-blind)
#7D765B
Tritanopia (blue-blind)
#E0003B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #cd175f;
/* rgb */ color: rgb(205, 23, 95);
/* oklch */ color: oklch(55.2% 0.211 6.0);
Tailwind
colors: {
  custom: {
    50: '#e46f8c',
    500: '#cd175f',
    950: '#000000',
  },
}
SCSS
$custom: #cd175f;
$custom-light: #e46f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cd175f",
  "rgb": {
    "r": 205,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 336.264,
    "s": 79.825,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55194,
    "c": 0.21128,
    "h": 6
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#CD175F
secondary
#6BD5AB
accent
#F6A832
background
#FFF7F8
surface
#FEEDF0
border
#D6C8CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #CD175F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CD175F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva