#CD2F6E#CD2F6E

#CD2F6E is a mid, vivid pink. Relative luminance 0.161; OKLCH L 57.0% C 0.198 H 2.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CD2F6E
RGBrgb(205, 47, 110)
HSLhsl(336, 63%, 49%)
HSVhsv(336, 77%, 80%)
CMYKcmyk(0%, 77.1%, 46.3%, 19.6%)
CIE-LABlab(47.16, 64.40, 2.62)
CIE-LCHlch(47.16, 64.46, 2.33°)
OKLaboklab(57.03% 0.1976 0.0074)
OKLCHoklch(57.03% 0.198 2.2)
XYZxyz(29.0102, 16.1419, 16.3369)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2F6E #2FCD8E
analogous
#CD2FBD #CD2F6E #CD3F2F
triadic
#CD2F6E #6ECD2F #2F6ECD
tetradic
#CD2F6E #BDCD2F #2FCD8E #3F2FCD
square
#CD2F6E #BDCD2F #2FCD8E #3F2FCD
split-complementary
#CD2F6E #2FCD3F #2FBDCD
monochromatic
#691839 #9B2453 #CD2F6E #DA5F90 #E691B3

Accessibility & contrast

On white

4.97
#CD2F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CD2F6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2F6E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2F6E#FFFFFF#000000##FFFFFF
##CD2F6E1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555C6F
Deuteranopia (green-blind)
#7F7B6A
Tritanopia (blue-blind)
#DF054B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cd2f6e;
/* rgb */ color: rgb(205, 47, 110);
/* oklch */ color: oklch(57.0% 0.198 2.2);
Tailwind
colors: {
  custom: {
    50: '#e27797',
    500: '#cd2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #cd2f6e;
$custom-light: #e27797;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2f6e",
  "rgb": {
    "r": 205,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 336.076,
    "s": 62.698,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57032,
    "c": 0.19773,
    "h": 2.2
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#CD2F6E
secondary
#87D0B3
accent
#E6A442
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CD2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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