#CF2F6B#CF2F6B

#CF2F6B is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.199 H 3.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CF2F6B
RGBrgb(207, 47, 107)
HSLhsl(338, 63%, 50%)
HSVhsv(338, 77%, 81%)
CMYKcmyk(0%, 77.3%, 48.3%, 18.8%)
CIE-LABlab(47.45, 64.68, 4.93)
CIE-LCHlch(47.45, 64.87, 4.36°)
OKLaboklab(57.28% 0.1981 0.0132)
OKLCHoklch(57.28% 0.199 3.8)
XYZxyz(29.4050, 16.3640, 15.5172)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2F6B #2FCF93
analogous
#CF2FBB #CF2F6B #CF432F
triadic
#CF2F6B #6BCF2F #2F6BCF
tetradic
#CF2F6B #BBCF2F #2FCF93 #432FCF
square
#CF2F6B #BBCF2F #2FCF93 #432FCF
split-complementary
#CF2F6B #2FCF43 #2FBBCF
monochromatic
#6B1837 #9D2451 #CF2F6B #DB608E #E692B2

Accessibility & contrast

On white

4.92
#CF2F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CF2F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF2F6B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2F6B#FFFFFF#000000##FFFFFF
##CF2F6B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575D6C
Deuteranopia (green-blind)
#817C67
Tritanopia (blue-blind)
#E10049
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf2f6b;
/* rgb */ color: rgb(207, 47, 107);
/* oklch */ color: oklch(57.3% 0.199 3.8);
Tailwind
colors: {
  custom: {
    50: '#e47795',
    500: '#cf2f6b',
    950: '#000000',
  },
}
SCSS
$custom: #cf2f6b;
$custom-light: #e47795;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2f6b",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 337.5,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.19857,
    "h": 3.8
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#CF2F6B
secondary
#89D1B6
accent
#E6A842
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CF2F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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